//
//  Pupil.h
//  test
//
//  Created by Christian Speich on 11.01.08.
//  Copyright 2008 Christian Speich. All rights reserved.
//

#ifdef IPHONE
#  import <UIKit/UIKit.h>
#else
#  import <Cocoa/Cocoa.h>
#endif
#import "Subject.h"

@interface Pupil : NSObject {
	NSString* name;
	NSString* class;
	NSMutableArray* subjects;
}

- (NSString*) name;
- (void) setName:(NSString*)name;

- (NSString*)class;
- (void)setClass:(NSString*)class;

- (NSArray*)subjects;
- (void)addSubject:(Subject*)subject;

- (NSString*)xml;
- (NSString*)xmlWithOffset:(int)i;

@end
